package cate.game.role.res.call.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBHeroCall;

@ClientMsg(title = "召唤数据 の 请求")
public class CallDataReq implements MsgInput {
    @Override
    public MsgConfig conf() {
        return MsgIdBHeroCall.CALL_DATA_REQ;
    }

    @Override
    public void execute(GameBody game, ClientContext cc) {
        new CallDataResp(cc.getRole().getRes().callPO).sendNow(cc.getRole());
    }
}
